<?php
	$id_elektromedik = $_POST['id_elektromedik'];
	$tarif = $_POST['tarif'];
	$id_ppk=$_GET['id_ppk'];
	
	$sql="insert into tarif_elektromedik (id_ppk,id_elektromedik,tarif) values ('$id_ppk','$id_elektromedik','$tarif')";
	$qry=mysql_query($sql);
	$url_sukses='utama.php?module=mod_tarif_elektromedik&id_ppk='.$id_ppk;
	if($qry){
		echo "<meta http-equiv='refresh' content='0; url=$url_sukses'>";
		exit;
	}else{
		echo mysql_error();
	}
?>